package com.example.demo.proxy;

/**
 * @Description BigStar
 * @Author songchuanlong
 * @Date 2025-06-11
 */

/**
 * 大明星类
 */
public class BigStar implements Star{
    private String name;

    public BigStar(String name) {
        this.name = name;
    }

    public String sing(String name){
        System.out.println(this.name+"正在唱:"+name);
        return "谢谢！谢谢！";
    }

    public void dance(){
        System.out.println(this.name+"正在跳舞");
    }
}
